Implementation of an Interrupt-Driven OSEK Operating System Kernel on an ARM Cortex-M3 Microcontroller

نویسندگان

  • Rainer Müller
  • Wanja Hofer
  • Daniel Lohmann
چکیده

An operating system usually distinguishes between threads managed by a software scheduler and interrupt service routines, scheduled and dispatched by an interrupt controller. This paradigm has inherent problems for real-time systems as low-priority interrupt routines can interrupt high-priority threads. The Sloth concept proposes to overcome this issue by implementing both interrupt handlers and threads as interrupts, which are scheduled and dispatched by hardware. This eliminates the difference between the two types of control flows by introducing a unified abstraction. With this simplification, scheduling and dispatching of threads can be managed completely by the interrupt subsystem in hardware. In the scope of this thesis, this Sloth concept was implemented as an interrupt-driven operating system conforming to the OSEK specification on the ARM Cortex-M3 microcontroller platform. This entails the investigation how the Sloth concept can be implemented with the provided hardware functionality and how the hardware components need to be utilized. This finished implementation is evaluated and compared to another operating system with a software-based scheduler in order to confirm the positive effect of this concept on the performance of thread management. Additionally, this thesis examines the influences of the hardware architecture on the design and implementation of Sloth.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Research on the Implementation of Porting uC/OS-II on the STM32F103 chip

This work shows how to port μCOS-II kernel and to build the ARM cortex-m3 hardware platform. This program researches how to drive the basic external devices. This paper gives a detailed discussion that the driver programs of the underlying hardware is how to be expanded into the uC/OS_II to process the tasks from the platform. The applications can make the STM32 processor work normally by calli...

متن کامل

Back to the Roots: Implementing the RTOS as a Specialized State Machine

Real-time control systems, originally arisen from simple, state-machine–based discrete elements, nowadays comprise sophisticated and manifold software-based algorithms consolidated with different applications on single, yet powerful microcontrollers. Real-time operating systems were introduced to handle this complexity by providing APIs to describe the desired system behavior, however, at the c...

متن کامل

Poster Abstract: “PtidyOS: An Operating System based on the PTIDES Programming Model”

Most real-time embedded software is built on programming abstractions that lack precise timing semantics. Our earlier work presented PTIDES, a programming model for distributed real-time software that delivers temporal semantics by exploiting discrete-event model of computation. In this work we introduce work we are doing to develop PtidyOS, a novel lightweight embedded operating system based o...

متن کامل

SysWCET: Whole-System Response-Time Analysis for Fixed-Priority Systems

978-1-5090-5269-1/17/$31.00 c ©2017 IEEE Abstract—The worst-case response time (WCRT) – the time span from release to completion of a real-time task – is a crucial property of real-time systems. However, WCRT analysis is complex in practice, as it depends not only on the realistic examination of worst-case execution times (WCET), but also on system-level overheads and blocking/preemption times....

متن کامل

Global Optimization of Non Functional Properties in OSEK Real-Time Systems by Static Cross-Kernel Flow Analyses

Computer systems are part of almost every aspect in our life. They are not only present in the form of the general-purpose desktop computing systems, but far more often they are hidden in the form of embedded real-time systems. These systems are often small and have very strict resource constraints. Therefore, application and the underlying real-time operating system are shipped as a single uni...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2012